package com.htl.exampro.user.pojo.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Data
public class PasswordVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @JsonProperty("UserId")
    @Schema(description = "用户ID")
    private String userId;

    /**
     * 旧密码
     */
    @NotBlank
    @JsonProperty("OldPassword")
    @Schema(description = "旧密码")
    String oldPassword;

    /**
     * 新密码
     */
    @NotBlank
    @JsonProperty("NewPassword")
    @Schema(description = "新密码")
    String newPassword;
}
